package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 负责人-设备关系对象 t_driver_equipment
 * 
 * @author wp
 * @date 2023-08-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)
@ToString
@TableName(value = "t_driver_equipment", excludeProperty = {"createBy", "updateTime","updateBy", "remark"})
public class DriverEquipment extends BaseEntity {

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long driverId;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long equipmentId;

    public DriverEquipment(Long driverId, Long equipmentId){
        this.driverId = driverId;
        this.equipmentId = equipmentId;
    }
}
